package com.xsomnus.spring_framework.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author @xsomnus666_xiawenye★
 * @since 2019/7/26 0026 11:57
 * - 才需学也,学需静也/非淡泊无以明志，非宁静无以致远
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class User extends Model<User> {

    @TableId
    private String id;

    private Integer leftFee;

    private Integer version;
}
